<template>
  <div id="app" :class="lan == 'en'?'lang_en':'lang_zh'">
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'App',
  data() {
    return {
      lan:'en'
    }
  },
  mounted() {
    if(localStorage.getItem('languageSet')){
      this.lan = localStorage.getItem('languageSet');
    }
  },
}
</script>

<style>
@font-face{
  font-family: axis;
  src:url('../static/font/DoHyeon-Regular.ttf')
}
.lang_en{
  font-family: axis;
}
.lang_zh{
  font-family: 'Lato', Helvetica, Arial, sans-serif;
}
#app {
  min-height: 100vh;
  font-size: 20px;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
}
body {
  background-color: black;
}
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {
    margin: 0;
    padding: 0;
    /* background: transparent; */
    border: 0;
    outline: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
  }

  article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary {
    display: block;
    box-sizing: border-box;
  }

  ol,
  ul {
    list-style: none;
    list-style-type: none;
  }

  img {
    vertical-align: top;
  }

  a,
  a:link {
    text-decoration: none;
  }
</style>
